package com.crm.customers.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;
import com.crm.sys.model.FilesInfo;

/**
 * 客户文件关联表
 * */
public class CustomerFiles extends BaseModel {
	
	private static final long serialVersionUID = -8940240270932470052L;

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	
	private Long cusid; //客户id
	
	private Long fileid; //文件id
	
	private FilesInfo filesinfo;//文件详细信息
	
	private String remark;
	
	private int updateState=1;//默认 1允许修改   0 不允许修改
	
	private Integer isdel;
	
	private Integer type;
	
	private String suffix; //文件后缀
	
	private String filename; //文件名
	
	

	public int getUpdateState() {
		return updateState;
	}

	public void setUpdateState(int updateState) {
		this.updateState = updateState;
	}

	public Long getCusid() {
		return cusid;
	}

	public void setCusid(Long cusid) {
		this.cusid = cusid;
	}

	public Long getFileid() {
		return fileid;
	}

	public void setFileid(Long fileid) {
		this.fileid = fileid;
	}

	public FilesInfo getFilesinfo() {
		return filesinfo;
	}

	public void setFilesinfo(FilesInfo filesinfo) {
		this.filesinfo = filesinfo;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsdel() {
		return isdel;
	}

	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String name) {
		this.filename = name;
	}
	
}
